package com.example.wechat114.controller;

import com.example.wechat114.commons.JsonBean;
import com.example.wechat114.service.KformService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("kForm")
public class KformController {
    @Autowired
    private KformService kformService;

    @PostMapping("getAll")
    public JsonBean getAll(){
        return kformService.getAll();
    }
}
